package com.loooooo.pm2024.modules.pm.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.loooooo.pm2024.config.BigIDSerialize;
import com.loooooo.pm2024.data.BaseEntity;
import com.loooooo.pm2024.modules.sys.model.PrettyUser;

import java.io.Serializable;
import java.util.List;

public class Attendance extends BaseEntity implements Serializable {

    private String type;
    @JsonSerialize(using = BigIDSerialize.class)
    private Long ownerId;

    private PrettyUser ownerUser;

    private Long clockAt;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public PrettyUser getOwnerUser() {
        return ownerUser;
    }

    public void setOwnerUser(PrettyUser ownerUser) {
        this.ownerUser = ownerUser;
    }

    public Long getClockAt() {
        return clockAt;
    }

    public void setClockAt(Long clockAt) {
        this.clockAt = clockAt;
    }
}
